package com.group.project.hrms.utils;

/**
 * 此类是定义钉钉服务端API的常量类
 */
public class DingAPIURLs {

    //钉钉获取部门列表，请求方式：POST
    public static String urlForGetDeptList = "https://oapi.dingtalk.com/topapi/v2/department/listsub";

    //钉钉获取部门ID列表，请求方式：POST
    public static String urlForGetDeptIDList = "https://oapi.dingtalk.com/topapi/v2/department/listsubid";

    //钉钉获取部门用户详情，请求方式：POST
    public static String urlForGetDeptUserDetails = "https://oapi.dingtalk.com/topapi/v2/user/list";

    //钉钉获取在职员工列表，请求方式：POST
    public static String urlForGetBeOnJobStaffList = "https://oapi.dingtalk.com/topapi/smartwork/hrm/employee/queryonjob";

    //钉钉获取离职员工列表，请求方式：POST
    public static String urlForGetLeaveStaffList = "https://oapi.dingtalk.com/topapi/smartwork/hrm/employee/querydimission";

    //钉钉获取员工离职信息(批量)，请求方式：POST
    public static String urlForGetLeaveStaffDetailsList = "https://oapi.dingtalk.com/topapi/smartwork/hrm/employee/listdimission";

    //钉钉获取员工在指定日期内的打卡详情(批量)，请求方式：POST
    public static String urlForGetAttendanceClockList = "https://oapi.dingtalk.com/attendance/listRecord";

    //钉钉获取管理员列表，请求方式：POST
    public static String urlForGetAdminList = "https://oapi.dingtalk.com/topapi/user/listadmin";

    //钉钉查询假期规则列表，请求方式：POST
    public static String urlForGetVacationTypeList = "https://oapi.dingtalk.com/topapi/attendance/vacation/type/list";

    //钉钉查询指定用户在指定时间段内的请假状态和请假时长信息，请求方式：POST
    public static String urlForGetleaveStatusList = "https://oapi.dingtalk.com/topapi/attendance/getleavestatus";

    //钉钉获取当前企业所有可管理的表单，请求方式：POST
    public static String urlForGetAllManagedProcessTemplates = "https://oapi.dingtalk.com/topapi/process/template/manage/get";

    //钉钉获取审批实例ID列表，请求方式：POST
    public static String urlForGetProcessinstance = "https://oapi.dingtalk.com/topapi/processinstance/listids";
}
